<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Gdetails_pic extends Model
{
    protected $table = 'goods_details_pic';

    protected $primaryKey = 'id';

    public $timestamps = true;

    public function findGoods()
    {
        return $this->belongsTo('App\Model\Goods', 'gid');
    }
}
